﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC02Controller
    /// </summary>
    public class VYC02Controller
    {
        private static VYC02BO vyc02Bo;
        public VYC02Controller()
        {
            //
            vyc02Bo = new VYC02BO();
        }

        public List<ModelVYC02> GetAllList()
        {
            return vyc02Bo.GetAllList();
        }

        public int AddData(ModelVYC02 model)
        {
            return vyc02Bo.AddData(model);
        }

        public int EditData(ModelVYC02 model)
        {
            return vyc02Bo.EditData(model);
        }

        public int DeleteData(ModelVYC02 model)
        {
            return vyc02Bo.DeleteData(model);
        }

        public List<ModelVYC02> GetById(int id)
        {
            return vyc02Bo.GetById(id);
        }
        public List<ModelVYC02> GetByUniqueId(string uniqueId)
        {
            return vyc02Bo.GetByUniqueId(uniqueId);
        }
    }
}